package com.white.mybatis.dynamic.spring;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * <p>
 * 动态Mapper包扫描
 * </p>
 *
 * @author huangzy
 * @since 2022/3/16
 */
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Import(StateImportSelector.class)
public @interface DynamicMapperScan {

    /**
     * @return 指定扫描的包路径集合
     */
    String[] basePackages();

}
